﻿namespace S7.Net.Types
{
    using S7.Net;
    using System;
    using System.Runtime.CompilerServices;

    public class DataItem
    {
        public DataItem()
        {
            this.VarType = S7.Net.VarType.Byte;
            this.Count = 1;
        }

        public byte BitAdr { get; set; }

        public int Count { get; set; }

        public S7.Net.DataType DataType { get; set; }

        public int DB { get; set; }

        public int StartByteAdr { get; set; }

        public object Value { get; set; }

        public S7.Net.VarType VarType { get; set; }
    }
}

